package com.offcn.sellergoods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.lang.Long;
import java.lang.String;

/**
 * 规格表
 * @Author:ujiuye
 * @Description:Specification构建
 * @Date 2021/2/1 14:19
 *****/
@ApiModel(description = "Specification", value = "Specification")
@TableName(value = "tb_specification")
@Data
public class Specification implements Serializable {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键", required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", required = false)
    @TableField(value = "spec_name")
    private String specName;
}
